﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using CommonLibrary.DBUtility;
using SmsSeries;

namespace SendMsg
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            SqlHelper s = new SqlHelper(true);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            frmSetup frmsetup=new frmSetup();

            frmsetup.ShowDialog();

            if (frmsetup.HasLogin)
            {
                Application.Run(new frmMain(frmsetup.UserID));//new frmSendMsg(frmsetup.UserID));//打开你指定的窗口 
            } 
        }
    }
}
